//base
import Taro, { Component } from '@tarojs/taro'
import { View, Text } from '@tarojs/components'
//less
import './index.less'
import If from '../if'

class TopLoading extends Component {
  componentWillMount() {
    //onLoad
  }

  componentDidMount() {
    //onready
  }

  componentWillUnmount() {
    //onUnload
  }

  componentWillReceiveProps(nextprops) {}

  render() {
    return (
      <View className="TopLoading_id43216">
        <View className="bottom-loading">
          <View className="animate-loading" />
          <View className="load-on">
            <Text className="load-on-text">正在加载</Text>
          </View>
        </View>
      </View>
    )
  }
}

export default TopLoading
